package com.wcity.manage.service.community.partybuilding;

import com.wcity.manage.common.vo.community.partybuilding.PartyBuildingVo;
import com.wcity.manage.dao.model.community.partybuilding.PartyBuilding;

import java.util.List;
import java.util.Map;

/**
 * 党政建设
 * Created by hgg on 2016/12/20.
 */
public interface PartyBuildingService {

    /**
     * 党政建设列表
     * @param queryMap
     * @return
     */
    public List<PartyBuildingVo> partyBuildingPageList( Map<String,Object> queryMap );

    /**
     * 删除党政建设
     * @param deleteMap
     * @return
     */
    public Integer deletePartyBuilding( Map<String,Object> deleteMap );

    /**
     * 新增党政建设
     * @param partyBuilding
     * @return
     */
    public Integer saveAddPartyBuilding( PartyBuilding partyBuilding,String imgUrl,String blockIdStr );

    /**
     * 更新党政建设
     * @param partyBuilding
     * @return
     */
    public Integer saveUpdatePartyBuilding( PartyBuilding partyBuilding,String imgUrl,String blockIdStr );

    /**
     * 党政建设详情
     * @param detailMap
     * @return
     */
    public PartyBuildingVo partyBuildingDetail( Map<String,Object> detailMap );

    /**
     * 党政建设总数量
     * @param queryMap
     * @return
     */
    public Integer totalPartyBuilding( Map<String,Object> queryMap );

    /**
     * 党政建设列表非分页
     * @param queryMap
     * @return
     */
    public List<PartyBuildingVo> partyBuildingList( Map<String,Object> queryMap );

    /**
     * 查询小区ID拼接（1,2,3）
     * @param queryMap
     * @return
     */
    public String blockIds( Map<String,Object> queryMap );
}
